﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace cz.muni.fi.pb138.IO
{
    interface IIODataSource
    {
		/// <summary>
		/// stores all the given <c>Media</c> classes into the source represented by this DataSources
		/// </summary>
		/// <param name="media"><c>IList</c> collection of <c>Media</c> classes to be stored</param>
        void storeMedia(IList<Media> media);

		/// <summary>
		/// reads media from the source
		/// </summary>
		/// <returns>a collection of <c>Media</c> classes </returns>
        IList<Media> readMedia();

		/// <summary>
		/// a file location as a source for import and export operations
		/// </summary>
        string FileName { get; set; }
    }
}
